/**
 * Cluster management
 */
var cluster = {
	
	/**
	 * Show the status of the cluster.
	 * If the status is not "HEALTH_OK", show the warn info.
	 */
	loadStatus : function() {
		$.ajax({
			type : "get",
			url : baseURL + "/cluster/status",
			dataType : "json",
			success : function(json) {
				$("#clusterStatus").append(json.data.severity);
				$("#warnInfo").append(json.data.summary);
			}
		});
	}

};